package com.atguigu.repservice.service;

import com.atguigu.repservice.entity.RepOrder;
import com.atguigu.repservice.entity.vo.OrderRequestVo;
import com.atguigu.repservice.entity.vo.RepOrderRequestVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhuangLiJiao
 * @since 2021-10-23
 */
public interface RepOrderService extends IService<RepOrder> {
    //1.创建订单：用户发起需求
    String userPublishOrder(RepOrderRequestVo.UserPublishOrder userPublishOrder, String memberId);

    //2.条件查询带分页
    Page<RepOrder> pageOrderCondition(long current, long limit, OrderRequestVo.OrderQueryVo orderRequestVo);
}
